Repository navigation
docs(id): clarify sync selection and completion scope (port of #3188) - #4783
Conversation
Port of PR #3188 to the crate-split locations for issue #4782: sync_method.rs moved to pkgs/id/crates/id-core/src/sync_method.rs in the split, which left PR #3188 conflicting and its clarifications unlanded. Wording is PR #3188 verbatim (result blobs for sync_method.rs and event_sync.rs are byte-identical to PR #3188); the log_sync.rs hunk is applied on the current base. The completion-recording gap the log_sync note names stays tracked by issue #734.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 31 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
|
Codex disposition (task 6789): the Codex code review on this head (4761ec4) FAILED on Codex usage limits ("You have reached your Codex usage limits for code reviews") — it produced zero inline findings and no review body to disposition (verified: no comments under pulls/4783/comments). There is no undispositioned finding on this PR. Additionally, the wording landed here is verbatim PR #3188 text, and PR #3188's head received a completed Codex review with has_any_findings=false. Docs-only diff, checks green — proceeding to merge under the standing criteria. |
Ports PR #3188's sync doc clarifications to the crate-split locations and lands them, for issue #4782.
PR #3188 has been open and conflicting since 2026-10-31: the crate split moved
pkgs/id/src/sync_method.rstopkgs/id/crates/id-core/src/sync_method.rs, so its clarifications never landed and the stale pre-range-sync wording is still on main (sync_method.rssays range sync's index will supply the numbers "when it merges" and thatLogSyncOnlyis where "Range sync (P3.1) adds itself here when it merges" — whileLogAndRangeexists in the same file and range sync merged long ago, #179).What this PR does — PR #3188's wording, verbatim, at the current locations:
pkgs/id/crates/id-core/src/sync_method.rs: topic-scoped-handshake selection note (not used byserve's own event sync), theSyncStatsseam text (no production group-sync initiator yet;LogAndRangesupports both,LogSyncOnlyrefuses range), theestimated_differenceaccuracy note, and theLogSyncOnlydoc line.pkgs/id/src/event_sync.rs:servealways uses range sessions on this ALPN, whole-store sync set.pkgs/id/src/log_sync.rs: group-sync initiator not built yet; completion recording deferred until it exists.Verification: the resulting blobs for
sync_method.rs(1a2cf2c24) andevent_sync.rs(5651fc1d0) are byte-identical to PR #3188's target blobs; thelog_sync.rshunk applied cleanly on the current base. Diff touches only doc comments in the three sync modules — no behaviour change.Supersedes PR #3188 (closed as superseded once this lands). The deferred completion-recording gap the
log_syncnote mentions is already tracked by issue #734 — referenced, not duplicated or implemented here.Closes #4782
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.